home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
bbs
/
hstdoor2.zip
/
MMENU10F.ZIP
/
MENU.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-07-03
|
1KB
|
73 lines
@ECHO OFF
REM This is the batch file that runs MultiMenu.
:LOOP
REM Edit the file paths on the following 2 lines to suit your system.
CD C:\MMENU
MMENU C:\BBS\DOOR.SYS MMENU.CFG
REM MultiMenu exits with ErrorLevel 255 if there is a MultiMenu error.
REM MultiMenu exits with ErrorLevel 255 if carrier drop or timeout.
IF ERRORLEVEL 255 GOTO END
IF ERRORLEVEL 9 GOTO DOOR9
IF ERRORLEVEL 8 GOTO DOOR8
IF ERRORLEVEL 7 GOTO DOOR7
IF ERRORLEVEL 6 GOTO DOOR6
IF ERRORLEVEL 5 GOTO DOOR5
IF ERRORLEVEL 4 GOTO DOOR4
IF ERRORLEVEL 3 GOTO DOOR3
IF ERRORLEVEL 2 GOTO DOOR2
IF ERRORLEVEL 1 GOTO DOOR1
REM MultiMenu exits with ErrorLevel 0 during a normal exit.
IF ERRORLEVEL 0 GOTO END
REM If you run any batch files below, use the DOS CALL command.
REM Example: CALL DOOR1.BAT
:DOOR1
REM Place Door 1 Commands Here
GOTO LOOP
:DOOR2
REM Place Door 2 Commands Here
GOTO LOOP
:DOOR3
REM Place Door 3 Commands Here
GOTO LOOP
:DOOR4
REM Place Door 4 Commands Here
GOTO LOOP
:DOOR5
REM Place Door 5 Commands Here
GOTO LOOP
:DOOR6
REM Place Door 6 Commands Here
GOTO LOOP
:DOOR7
REM Place Door 7 Commands Here
GOTO LOOP
:DOOR8
REM Place Door 8 Commands Here
GOTO LOOP
:DOOR9
REM Place Door 9 Commands Here
GOTO LOOP
:END